package cn.wjh.business.domain.vo;

import cn.wjh.business.utils.ValidationGroups;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class MailVo {
	@NotBlank(groups = ValidationGroups.Query.class, message = "邮箱不能为空!")
	private String email;
	@NotBlank(groups = ValidationGroups.Query.class, message = "邮箱验证码不能为空!")
	private String code;
	@NotBlank(groups = ValidationGroups.Query.class, message = "邮件主题不能为空!")
	private String title;
}
